Use = not == in test.
authorrobertl <robertl>
Sat, 21 Feb 2009 18:14:26 +0000 (18:14 +0000)
committerrobertl <robertl>
Sat, 21 Feb 2009 18:14:26 +0000 (18:14 +0000)
testw
tools/mkfilelist
tools/mkspec

diff --git a/testw b/testw
index d41a6ef8664077192b2c4c0fdf86b54dbe8a400e..eee5f9060dc99b04a87d3e01977a0b4613e0b966 100755 (executable)
--- a/testw
+++ b/testw
@@ -58,7 +58,7 @@ function STAGE_1 () # format
     while read type caps format comment; do
     
        for i in $EXCL; do
-           if [ "$format" == "$i" ]; then
+           if [ "$format" = "$i" ]; then
                caps="------"
            fi
        done
@@ -97,7 +97,7 @@ function STAGE_0 ()
     while read type caps format comment; do
     
        for i in $EXCL; do
-               if [ "$format" == "$i" ]; then
+               if [ "$format" = "$i" ]; then
                        caps="------"
                fi
        done
index 09c9df168398f8386ed32c96d6797bf45e1ccdf0..e7d429c2384f518a56fccaaece494ed7619b5eb9 100755 (executable)
@@ -34,7 +34,7 @@ function loop()
                echo "$LINE" |
                (
                        read LEAD NAME READ
-                       test "x$NAME" == "x" && continue
+                       test "x$NAME" = "x" && continue
                        case $LEAD in
                        D)      
                                loop "$1/$NAME/" "$2"
index 6c620bdfadf29eb75a2109eaf30e9d28cdc46fbd..a79af5a245c22be6fc0e2f04203fedda621f6f86 100755 (executable)
@@ -6,7 +6,7 @@ VERSION=$2
 RELEASE=$3     # may be empty
 
 REL=`echo $RELEASE | sed 's/^-//'`
-test "$REL" == "" && REL=0
+test "$REL" = "" && REL=0
 
 cat << EOF
 Summary:   GPSBabel